# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=volatility
pkgver=2.6.1
pkgrel=1
pkgdesc="Volatile memory forensics toolkit"
url="http://volatilityfoundation.org/"
arch="noarch"
license="GPL-2.0"
depends="py-crypto"
makedepends="py-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/volatilityfoundation/$pkgname/archive/$pkgver.tar.gz"

builddir="$srcdir/$pkgname-$pkgver"

build () {
	cd "$builddir"
	python2 setup.py build
}

package() {
	cd "$builddir"
	python2 setup.py install --root "$pkgdir"
}

sha512sums="64d49de21a87fb6152ad430126466bf66bca06457f3fa2d54cee29b0e4a2eee53ab658570b6cbc782e85ca558f45fac5cf6e6625ebd85aa3ffc9f69768cfa844  volatility-2.6.1.tar.gz"
